/**
 * Copyright (c) 2013-Now http://jeesite.com All rights reserved.
 */
package com.jeesite.modules.kj.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.jeesite.common.entity.Page;
import com.jeesite.common.service.CrudService;
import com.jeesite.modules.kj.entity.KjActivityComment;
import com.jeesite.modules.kj.dao.KjActivityCommentDao;

/**
 * kj_activity_commentService
 * @author hzy
 * @version 2021-07-12
 */
@Service
@Transactional(readOnly=true)
public class KjActivityCommentService extends CrudService<KjActivityCommentDao, KjActivityComment> {
	@Autowired
	KjActivityCommentDao kjActivityCommentDao;
	
	/**
	 * 获取单条数据
	 * @param kjActivityComment
	 * @return
	 */
	@Override
	public KjActivityComment get(KjActivityComment kjActivityComment) {
		return super.get(kjActivityComment);
	}
	
	/**
	 * 查询分页数据
	 * @param kjActivityComment 查询条件
	 * @param kjActivityComment.page 分页对象
	 * @return
	 */
	@Override
	public Page<KjActivityComment> findPage(KjActivityComment kjActivityComment) {
		return super.findPage(kjActivityComment);
	}
	
	/**
	 * 保存数据（插入或更新）
	 * @param kjActivityComment
	 */
	@Override
	@Transactional(readOnly=false)
	public void save(KjActivityComment kjActivityComment) {
		super.save(kjActivityComment);
	}
	
	/**
	 * 更新状态
	 * @param kjActivityComment
	 */
	@Override
	@Transactional(readOnly=false)
	public void updateStatus(KjActivityComment kjActivityComment) {
		super.updateStatus(kjActivityComment);
	}
	
	/**
	 * 删除数据
	 * @param kjActivityComment
	 */
	@Override
	@Transactional(readOnly=false)
	public void delete(KjActivityComment kjActivityComment) {
		super.delete(kjActivityComment);
	}
	
}